package timetables;

public class TimeWeek {
	TimeDay[] week = new TimeDay[5];
	
	// set time day
	public int setDay(String date){
		int idx = 0;
		
		if(date.equals("MON"))
			idx = 0;
		else if(date.equals("TUE"))
			idx = 1;
		else if(date.equals("WED"))
			idx = 2;
		else if(date.equals("THU"))
			idx = 3;
		else if(date.equals("FRI"))
			idx = 4;
		
		return idx;
	}

}
